package edu.njfu.sas.dao;

import edu.njfu.sas.model.Student;

import java.util.List;

public interface StudentDao {
    //对student进行增删改查
    List<Student>getAllStudent();
    List<Student>getStudentByName(String name);
    boolean saveStudent(Student s);
    public  Student getStudentByNo(String stuno);
    List<Student> getStudentByPaging(int currentPage,int PageSize);
    long totalRecords();
}
